package com.example.metadata.controller

import org.springframework.web.bind.annotation.{RequestMapping, RequestMethod, RestController}

@RestController
class ScalaHello {

  @RequestMapping(value = Array("/scala"),method = Array(RequestMethod.GET))
  def sayHello(): String = {
    "hello scala"
  }

}
